<?php

include_once('include/header.php');
require('conf/configuration.php');

require_once('class/class.Transporte.php');
$transportes = new Transporte();
$transportes = $transportes->getTransportesDestacados();
$smarty->assign('transportes', $transportes);


require_once('class/class.Noticias.php');
$noticias = new Noticias();
$noticiasList = $noticias->getNoticias($categoria,$pages->limit);
$smarty->assign('noticiasList', $noticiasList);

$smarty->assign('page','index');
$smarty->display('index.tpl');
